package com.hl.unittestlearn.di.module;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2017/3/26.
 */

@Module
public abstract class BaseModule<IView> {
    protected IView view;

    public BaseModule(IView view)
    {
        this.view = view;
    }


    @Provides
    public IView providesView()
    {
        return view;
    }
}
